package com.ruoyi.purchase.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.purchase.domain.Detail;
import com.ruoyi.purchase.mapper.DetailMapper;
import com.ruoyi.purchase.service.DetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 黄佳成
* @description 针对表【po_detail】的数据库操作Service实现
* @createDate 2022-01-13 00:11:22
*/
@Service
public class DetailServiceImpl extends ServiceImpl<DetailMapper, Detail>
    implements DetailService{
    @Autowired
    private DetailMapper detailMapper;
    @Override
    public List<Detail> findDetailById(String purId) {
        return detailMapper.findDetailById(purId);
    }

    @Override
    public boolean modify(Detail detail) {
        return detailMapper.modify(detail);
    }
}




